<?php
require 'Home/Controller/Controller.php ';
require 'Home/Model/IndexModel.php ';
class IndexController extends Controller{
	function __Construct(){
		parent::__Construct();
		//$this->mod = 'users';
	}
	function index(){
		$model=new IndexModel();
		$this->assign('type',$model->getType());
		$this->assign('video',$model->showVideo());
		$this->display(); 
		//return $data;
	}
/*	function nav(){
		$model=new $model = new IndexModel();
		$data = $model->getType();
		$this->assign('type',$data);
		$this->display();

	}
	*/
}
?>